import 'package:flutter/material.dart';

class IconWidget extends StatelessWidget {
  final double width;

  final double heigth;

  final Icon icon;

  final Color color;

  const IconWidget({this.width, this.heigth, this.icon, this.color});

  @override
  Widget build(BuildContext context) {
    return Container(
        alignment: Alignment.center,
        width: width,
        height: heigth,
        child: icon,
        color: color);
  }
}
